#!/bin/sh
export MYSQL='mysql --user=root --password=123456'
$MYSQL -e "CREATE USER 'mzm'@'%' IDENTIFIED BY 'mzm';"
$MYSQL -e "GRANT ALL PRIVILEGES ON *.* TO 'mzm'@'%' WITH GRANT OPTION;"